/*
 * FunctionCallAst.h
 *
 *  Created on: 19 Nov 2010
 *      Author: kn308
 */

#ifndef FUNCTIONCALLAST_H_
#define FUNCTIONCALLAST_H_

#include <MAlice/Ast/ExpressionAst.h>
#include <MAlice/Ast/ListAst.h>

namespace MAlice
{

class FunctionCallAst: public MAlice::ExpressionAst
{
private:
	string   mName;
	ListAst* mParams;
public:
	FunctionCallAst(location loc, const string& name, ListAst* params);
	virtual ~FunctionCallAst();
	virtual llvm::Value* generate();
};

}

#endif /* FUNCTIONCALLAST_H_ */
